using System;
using System.Collections.Generic;
using System.Text;

namespace Ghasam.Business.Domain.Entity
{
    public class InternalAccounting
    {

        private int id;
        private InternalAccount account;
        private float credit;
        private float debit;
        private Item item;
        private float quantity;
        private float unitPrice;
        private SalesPerson salesPerson;
        private string description;
        private InternalAccountingType accountingType;
        private bool paid;
        private bool deleted;
        private DateTime modifyStamp;

        public virtual DateTime ModifyStamp
        {
            get { return modifyStamp; }
            set { modifyStamp = value; }
        }

        public virtual bool Deleted
        {
            get { return deleted; }
            set { deleted = value; }
        }

        public virtual bool Paid
        {
            get { return paid; }
            set { paid = value; }
        }

        public virtual InternalAccountingType AccountingType
        {
            get { return accountingType; }
            set { accountingType = value; }
        }

        public virtual string Description
        {
            get { return description; }
            set { description = value; }
        }

        public virtual SalesPerson SalesPerson
        {
            get { return salesPerson; }
            set { salesPerson = value; }
        }

        public virtual float UnitPrice
        {
            get { return unitPrice; }
            set { unitPrice = value; }
        }

        public virtual float Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        public virtual Item Item
        {
            get { return item; }
            set { item = value; }
        }

        public virtual float Debit
        {
            get { return debit; }
            set { debit = value; }
        }

        public virtual float Credit
        {
            get { return credit; }
            set { credit = value; }
        }

        public virtual InternalAccount Account
        {
            get { return account; }
            set { account = value; }
        }

        public virtual int Id
        {
            get { return id; }
            set { id = value; }
        }

        public virtual string AccountName
        {
            get { return this.Account.Name; }
        }
	
    }
}
